package com.qdu.service;

import com.qdu.entity.Houseinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseService {
    void deleteByPrimaryKey(String hid);

    void insert(Houseinfo record);

    void insertSelective(Houseinfo record);

    Houseinfo selectByHid(String hid);

    List<Houseinfo> selectByUid(String uid);

    List<Houseinfo> selectByKey(String keys);

    List<Houseinfo> selectByLotsKeys( String mode,int pricelow,String type,int term,int floorlow);

    void updateByPrimaryKeySelective(Houseinfo record);

    void updateByPrimaryKey(Houseinfo record);

    List<Houseinfo> getAll();

    // 分页处理
    List<Houseinfo> getHouseByPage(@Param("start") Integer start, @Param("rows") Integer rows);

    Long findTotals();
}
